package com.sky.business.sys.handler.exception;

/**
 * 节点找不到异常
 *
 */
public class NodeNotFoundException extends RuntimeException {
    /**
     * 节点id
     */
    private final Integer nodeId;

    /**
     * 构造器
     * @param nodeId 节点id
     */
    public NodeNotFoundException(Integer nodeId) {
        super("nodeId:" + nodeId);
        this.nodeId = nodeId;
    }

    /**
     * 获取节点id
     * @return 节点id
     */
    public Integer getNodeId() {
        return nodeId;
    }
}
